package boot.spring.service;

import boot.spring.po.Admin;
import boot.spring.po.Staff;
import java.util.List;

public interface AdminService {
    Admin getAdminByUsername(String username);
    List<Staff> getAllUsers();
    List<Staff> getUsersBySearch(String search, int offset, int size);
    void deleteUserById(int id);
    void deleteUserByIdAndForceLogout(int id, String username);
    void insertNotice(String content);
    Staff getUserById(int id);
} 